<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/common.css">
    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/style.default.css">
    <link rel="stylesheet" type="text/css" href="<%=path %>/static/css/bootstrap.css">
    <!--[if IE 7]>
    <link rel="stylesheet" href="<%=path%>/static/css/font/font-awesome-ie7.min.css"><![endif]-->
    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/practice/test-system.css">
    <script src="<%=path%>/static/js/practice/textarea.js"></script>
    <!--[if !IE]> -->
    <script type="text/javascript">
        window.jQuery || document.write("<script src='<%=path%>/static/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
    </script>
    <!-- <![endif]-->
    <script type="text/javascript">
        window.jQuery || document.write("<script src='<%=path %>/static/js/jquery-1.9.1.min.js'>" + "<" + "/script>");
    </script>
    <script src="<%=path %>/static/js/bootstrap.min.js"></script>
    <script src="<%=path %>/static/js/practice/toTop.js"></script>
    <script src="<%=path %>/static/js/respond.js"></script>
    <script src="<%=path %>/static/js/practice/toTop.js"></script>
    <script type="text/javascript">
        $(function () {
            //$("[data-toggle='popover']").popover();
        });
    </script>

</head>
<body>
<!--head begin-->

<div class="headbg position_fixed">
    <jsp:include page="../head.jsp" flush="true"/>
</div>
<!--head end-->
<!--
    作者：454591990@qq.com
    时间：2016-07-05
    描述：右边固定菜单
-->
<div class="right_nav btn-group-vertical">
   <%-- <a class="btn btn-success nav_dr">
        <i class="glyphicon glyphicon-eye-open"></i>
        <p>只看错题</p>
    </a>
    <a class="btn btn-success nav_dr">
        <i class="glyphicon glyphicon-log-out"></i>
        <p>试卷导出</p>
    </a>--%>
    <a href="javascript:void(0);" id="toTop" class="btn btn-success nav_dr">
        <i class="glyphicon glyphicon-log-out"></i>
        <p>返回顶部</p>
    </a>
</div>
<!--body begin-->

<div class="container margin-top-75 exam_wrong_main">
    <div class="container header">
        <div class="navheader">
            <div class="left-title">
                姓名: ${studentName}
            </div>
            <div class="middle-title">
                ${examName}
            </div>
            <div class="right-title">
                得分: ${paper.score}分
            </div>
        </div>
    </div>
    <!--
        	作者：454591990@qq.com
        	时间：2016-07-05
        	描述：右边固定菜单
        -->

    <!--body begin-->
    <div class="container margin-top-75 exam_wrong_main">

        <div class="wrong_box">
            <!--单选题 begin-->
            <div class="single-container">
                <div class="single-title">
                    <span class="font-title">一、单选题</span>
                    <span class="grey_color">（${singlecount}道，每题3分，共${singlecount*3}分）</span>
                    <span class="right_title"><i class="glyphicon glyphicon-ok-sign"></i>${sincorr}</span>
                    <span class="wrong_title"><i class="glyphicon glyphicon-remove-sign"></i>${singlecount-sincorr}</span>
                    <span class="green_color">${paper.single}分</span>
                </div>
            </div>
            <c:forEach items="${singlelist}" var="question" varStatus="status">
                <div class="problem">
                    <div class="single-main">
                        <p> ${status.count}. ${question.title}</p>
                    </div>
                    <%--//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA--%>
                    <div class="choose-box">
                        <c:choose>
                            <c:when test="${question.answercorr=='A'}">
                                <%--//正确答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <i class="glyphicon glyphicon-ok-sign"></i>
                                        <p><span>A</span>&nbsp;${question.a}</p>
                                        <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.apic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:when test="${question.answercorr=='A' && question.answer!='A'}">
                                <%--//考生选错的选项--%>
                                <div class="radio">
                                    <label class="correct-box blue-border">
                                        <i class="glyphicon glyphicon-remove-sign"></i>
                                        <p><span>A</span>&nbsp;${question.a}</p>
                                        <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                            <img style="width: 120px; height: 120px;" src="<%=basePath %>${question.apic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:otherwise>
                                <%--//既不是正确答案选项也不是考生答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <input type="radio" name="optionsRadios" value="option1" disabled>
                                        <p><span>A</span>&nbsp;${question.a}</p>
                                        <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.apic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:otherwise>
                        </c:choose>
                    </div>
                    <%--//BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB--%>
                    <div class="choose-box">
                        <c:choose>
                            <c:when test="${question.answercorr=='B'}">
                                <%--//正确答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <i class="glyphicon glyphicon-ok-sign"></i>
                                        <p><span>B</span>&nbsp;${question.b}</p>
                                        <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.bpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:when test="${question.answercorr!='B' && question.answer=='B'}">
                                <%--//考生选错的选项--%>
                                <div class="radio">
                                    <label class="correct-box blue-border">
                                        <i class="glyphicon glyphicon-remove-sign"></i>
                                        <p><span>B</span>&nbsp;${question.b}</p>
                                        <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.bpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:otherwise>
                                <%--//既不是正确答案选项也不是考生答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <input type="radio" name="optionsRadios" value="option1" disabled>
                                        <p><span>B</span>&nbsp;${question.b}</p>
                                        <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.bpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:otherwise>
                        </c:choose>
                    </div>
                    <%--//CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC--%>
                    <div class="choose-box">
                        <c:choose>
                            <c:when test="${question.answercorr=='C'}">
                                <%--//正确答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <i class="glyphicon glyphicon-ok-sign"></i>
                                        <p><span>C</span>&nbsp;${question.c}</p>
                                        <c:if test="${not empty question.cpic && !(question.cpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.cpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:when test="${question.answercorr!='C' && question.answer=='C'}">
                                <%--//考生选错的选项--%>
                                <div class="radio">
                                    <label class="correct-box blue-border">
                                        <i class="glyphicon glyphicon-remove-sign"></i>
                                        <p><span>C</span>&nbsp;${question.c}</p>
                                        <c:if test="${not empty question.cpic && !(question.cpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.cpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:otherwise>
                                <%--//既不是正确答案选项也不是考生答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <input type="radio" name="optionsRadios" value="option1" disabled>
                                        <p><span>C</span>&nbsp;${question.c}</p>
                                        <c:if test="${not empty question.cpic && !(question.cpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.cpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:otherwise>
                        </c:choose>
                    </div>
                    <%--//DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD--%>
                    <div class="choose-box">
                        <c:choose>
                            <c:when test="${question.answercorr=='D'}">
                                <%--//正确答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <i class="glyphicon glyphicon-ok-sign"></i>
                                        <p><span>D</span>&nbsp;${question.d}</p>
                                        <c:if test="${not empty question.dpic && !(question.dpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.dpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:when test="${question.answercorr!='D' && question.answer=='D'}">
                                //考生选错的选项
                                <div class="radio">
                                    <label class="correct-box blue-border">
                                        <i class="glyphicon glyphicon-remove-sign"></i>
                                        <p><span>D</span>&nbsp;${question.d}</p>
                                        <c:if test="${not empty question.apic && !(question.dpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.dpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:otherwise>
                                <%--//既不是正确答案选项也不是考生答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <input type="radio" name="optionsRadios" value="option1" disabled>
                                        <p><span>D</span>&nbsp;${question.d}</p>
                                        <c:if test="${not empty question.dpic && !(question.dpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.dpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:otherwise>
                        </c:choose>
                    </div>
                    <div class="answer-box">
                        <span class="right-line"></span>
                        <span>正确答案：<b>${question.answercorr}</b></span>
                    </div>
                    <div class="answer-box">
                        <span class="right-line-blue"></span>
                        <c:choose>
                            <c:when test="${question.answer==question.answercorr}">
                                <span>考生答案：<b>${question.answer}</b></span>
                            </c:when>
                            <c:otherwise>
                                <span>考生答案：<b class="redcolor">${question.answer}</b></span>
                            </c:otherwise>
                        </c:choose>
                    </div>
                </div>
            </c:forEach>
            <!--单选题 end-->
        </div>
        <div class="wrong_box">
            <!--多选题 begin-->
            <div>
                <div class="single-container">
                    <div class="single-title">
                        <span class="font-title">二、多选题</span>
                        <span class="grey_color">（${muticount}道，每题5分，共${muticount*5}分）</span>
                        <span class="right_title"><i class="glyphicon glyphicon-ok-sign"></i>${muticorr}</span>
                        <span class="wrong_title"><i
                                class="glyphicon glyphicon-remove-sign"></i>${muticount-muticorr}</span>
                        <span class="green_color">${paper.muti}分</span>
                    </div>
                </div>
                <c:forEach items="${mutilist}" var="question" varStatus="status">
                    <div class="problem">
                        <div class="single-main">
                            <p> ${status.count + singlecount}. ${question.title}</p>
                        </div>
                        <%--//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA--%>
                        <div class="choose-box">
                            <c:choose>
                                <c:when test="${fn:contains(question.answercorr,'A')}">
                                    <%--//正确答案选项--%>
                                    <div class="checkbox">
                                        <label class="wrong-box blue-border">
                                            <i class="glyphicon glyphicon-ok-sign"></i>
                                            <p><span>A</span>&nbsp;${question.a}</p>
                                            <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.apic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:when test="${fn:contains(question.answercorr,'A')==false && fn:contains(question.answer,'A')}">
                                    <%--//考生选错的选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box blue-border">
                                            <i class="glyphicon glyphicon-remove-sign "></i>
                                            <p><span>A</span>&nbsp;${question.a}</p>
                                            <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.apic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:otherwise>
                                    <%--//既不是正确答案选项也不是考生答案选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box default-border">
                                            <input type="checkbox" value="" disabled>
                                            <p><span>A</span>&nbsp;${question.a}</p>
                                            <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.apic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:otherwise>
                            </c:choose>
                        </div>
                        <%--//BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB--%>
                        <div class="choose-box">
                            <c:choose>
                                <c:when test="${fn:contains(question.answercorr,'B')}">
                                    <%--//正确答案选项--%>
                                    <div class="checkbox">
                                        <label class="wrong-box blue-border">
                                            <i class="glyphicon glyphicon-ok-sign"></i>
                                            <p><span>B</span>&nbsp;${question.b}</p>
                                            <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.bpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:when test="${fn:contains(question.answercorr,'B')==false && fn:contains(question.answer,'B')}">
                                    <%--//考生选错的选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box blue-border">
                                            <i class="glyphicon glyphicon-remove-sign "></i>
                                            <p><span>A</span>&nbsp;${question.b}</p>
                                            <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.bpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:otherwise>
                                    <%--//既不是正确答案选项也不是考生答案选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box default-border">
                                            <input type="checkbox" value="" disabled>
                                            <p><span>A</span>&nbsp;${question.b}</p>
                                            <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.bpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:otherwise>
                            </c:choose>
                        </div>
                        <%--//CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC--%>
                        <div class="choose-box">
                            <c:choose>
                                <c:when test="${fn:contains(question.answercorr,'C')}">
                                    <%--//正确答案选项--%>
                                    <div class="checkbox">
                                        <label class="wrong-box blue-border">
                                            <i class="glyphicon glyphicon-ok-sign"></i>
                                            <p><span>C</span>&nbsp;${question.c}</p>
                                            <c:if test="${not empty question.cpic && !(question.cpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.cpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:when test="${fn:contains(question.answercorr,'C')==false && fn:contains(question.answer,'C')}">
                                   <%-- //考生选错的选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box blue-border">
                                            <i class="glyphicon glyphicon-remove-sign "></i>
                                            <p><span>C</span>&nbsp;${question.c}</p>
                                            <c:if test="${not empty question.apic && !(question.cpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.cpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:otherwise>
                                    <%--//既不是正确答案选项也不是考生答案选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box default-border">
                                            <input type="checkbox" value="" disabled>
                                            <p><span>C</span>&nbsp;${question.c}</p>
                                            <c:if test="${not empty question.cpic && !(question.apic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.cpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:otherwise>
                            </c:choose>
                        </div>
                        <%--//DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD--%>
                        <div class="choose-box">
                            <c:choose>
                                <c:when test="${fn:contains(question.answercorr,'D')}">
                                    //正确答案选项
                                    <div class="checkbox">
                                        <label class="wrong-box blue-border">
                                            <i class="glyphicon glyphicon-ok-sign"></i>
                                            <p><span>D</span>&nbsp;${question.d}</p>
                                            <c:if test="${not empty question.dpic && !(question.dpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.dpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:when test="${fn:contains(question.answercorr,'D')==false && fn:contains(question.answer,'D')}">
                                    <%--//考生选错的选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box blue-border">
                                            <i class="glyphicon glyphicon-remove-sign "></i>
                                            <p><span>D</span>&nbsp;${question.d}</p>
                                            <c:if test="${not empty question.dpic && !(question.dpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.dpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:when>
                                <c:otherwise>
                                    <%--//既不是正确答案选项也不是考生答案选项--%>
                                    <div class="checkbox">
                                        <label class="correct-box default-border">
                                            <input type="checkbox" value="" disabled>
                                            <p><span>D</span>&nbsp;${question.d}</p>
                                            <c:if test="${not empty question.dpic && !(question.dpic eq null) }">
                                                <img style="width: 120px; height: 120px;"
                                                     src="<%=basePath %>${question.dpic }">
                                            </c:if>
                                        </label>
                                    </div>
                                </c:otherwise>
                            </c:choose>
                        </div>
                        <div class="answer-box">
                            <span class="right-line"></span>
                            <span>正确答案：<b>${question.answercorr}</b></span>
                        </div>
                        <div class="answer-box">
                            <span class="right-line-blue"></span>
                            <c:choose>
                                <c:when test="${question.answer==question.answercorr}">
                                    <span>考生答案：<b>${question.answer}</b></span>
                                </c:when>
                                <c:otherwise>
                                    <span>考生答案：<b class="redcolor">${question.answer}</b></span>
                                </c:otherwise>
                            </c:choose>
                        </div>
                    </div>
                </c:forEach>
            </div>
            <!--多选题 end-->
        </div>
        <div class="wrong_box">
            <!--判断题答案 begin-->
            <div class="single-container">
                <div class="single-title">
                    <span class="font-title">三、判断题</span>
                    <span class="grey_color">（${judgecount}道，每题2分，共${judgecount*2}分）</span>
                    <span class="right_title"><i class="glyphicon glyphicon-ok-sign"></i>${judgecorr}</span>
                    <span class="wrong_title"><i class="glyphicon glyphicon-remove-sign"></i>${judgecount-judgecorr}</span>
                    <span class="green_color">${paper.judge}分</span>
                </div>
            </div>
            <c:forEach items="${judgelist}" var="question" varStatus="status">
                <div class="problem">
                    <div class="single-main">
                        <p> ${status.count + singlecount + muticount}. ${question.title}</p>
                    </div>
                    <%--//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA--%>
                    <div class="choose-box">
                        <c:choose>
                            <c:when test="${question.answercorr=='A'}">
                                <%--//正确答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <i class="glyphicon glyphicon-ok-sign"></i>
                                        <p><span>A</span>&nbsp;${question.a}</p>
                                        <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.apic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:when test="${question.answercorr!='A' && question.answer=='A'}">
                                <%--//考生选错的选项--%>
                                <div class="radio">
                                    <label class="correct-box blue-border">
                                        <i class="glyphicon glyphicon-remove-sign"></i>
                                        <p><span>A</span>&nbsp;${question.a}</p>
                                        <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.apic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:otherwise>
                                <%--//既不是正确答案选项也不是考生答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <input type="radio" name="optionsRadios" value="option1" disabled>
                                        <p><span>A</span>&nbsp;${question.a}</p>
                                        <c:if test="${not empty question.apic && !(question.apic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.apic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:otherwise>
                        </c:choose>
                    </div>
                    <%--//BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB--%>
                    <div class="choose-box">
                        <c:choose>
                            <c:when test="${question.answercorr=='B'}">
                                <%--//正确答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <i class="glyphicon glyphicon-ok-sign"></i>
                                        <p><span>B</span>&nbsp;${question.b}</p>
                                        <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.bpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:when test="${question.answercorr!='B' && question.answer=='B'}">
                                //考生选错的选项
                                <div class="radio">
                                    <label class="correct-box blue-border">
                                        <i class="glyphicon glyphicon-remove-sign"></i>
                                        <p><span>B</span>&nbsp;${question.b}</p>
                                        <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.bpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:when>
                            <c:otherwise>
                                <%--//既不是正确答案选项也不是考生答案选项--%>
                                <div class="radio">
                                    <label class="wrong-box default-border">
                                        <input type="radio" name="optionsRadios" value="option1" disabled>
                                        <p><span>B</span>&nbsp;${question.b}</p>
                                        <c:if test="${not empty question.bpic && !(question.bpic eq null) }">
                                            <img style="width: 120px; height: 120px;"
                                                 src="<%=basePath %>${question.bpic }">
                                        </c:if>
                                    </label>
                                </div>
                            </c:otherwise>
                        </c:choose>
                    </div>
                    <div class="answer-box">
                        <span class="right-line"></span>
                        <span>正确答案：<b>${question.answercorr}</b></span>
                    </div>
                    <div class="answer-box">
                        <span class="right-line-blue"></span>
                        <c:choose>
                            <c:when test="${question.answer==question.answercorr}">
                                <span>考生答案：<b>${question.answer}</b></span>
                            </c:when>
                            <c:otherwise>
                                <span>考生答案：<b class="redcolor">${question.answer}</b></span>
                            </c:otherwise>
                        </c:choose>
                    </div>
                </div>
            </c:forEach>
        </div>
    </div>
</div>

</body>
<!--footer end-->
<script type="text/javascript" src="<%=path %>/jquery/jquery-1.12.2.min.js">
</script>
<script type="text/javascript">
    $(function () {
        $('#topMain').children().eq(0).addClass('active'); // 追加样式;
    })
</script>
</html>